package com.huluobo.h3weekdemo.main

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 *  Created by LC on 2023/10/31.
 */
data class NewBeanResult(
    val code: Int,
    val `data`: List<NewsBean>,
    val message: String
)

@Entity(tableName = "news_info")
data class NewsBean(
    val auth: String,
    val description: String,
    @PrimaryKey
    val id: Int,
    val istop: String,
    val mainimgurl: String,
    val newstypeid: Int,
    val sourcesiteid: Int,
    val sourcesitename: String,
    val sourceurl: String,
    val title: String
)